	<!-- Start of Page Menu -->

	<div id="page_menu">

		<ul>
		<li><a href="index.php">Home</a></li>
		<li><a href="orders.php">Bestellingen</a></li>
		<li><a href="klantoverzicht.php">Klantenbeheer</a></li>
		<li><a href="productbeheer.php">Productbeheer</a></li>
		<li><a href="paginabeheer.php">Paginabeheer</a></li>
		<li class='last'><a href='http://www.google.com/intl/nl_ALL/analytics/index.html' target="_blank_">Google Analytics</a></li>
		</ul>

	</div>

	<!-- End of Page Menu -->


	<!-- Start of Left Sidebar -->

	<div id="left_sidebar">

	<!-- Start of Categories Box -->	
	<?php	
		include('../include/db_connect.php');
		$res = mysql_query("SELECT DISTINCT `sub1` AS 'category' ".
		                   "FROM `PRODUCT` ".
		                   "ORDER BY `category`");
		if(!$res) 
		{
			die("Query failed. Please try again later. ".mysql_error());
		}
		echo '<div id="categories">';
		echo '<div id="categories_header">';
		echo '<h2>Categorie&euml;n</h2>';
		echo '</div>';
		echo '<ul>';
		
				while($result = mysql_fetch_assoc($res)) {
					echo '<li><a href="productbeheer.php?sub1='.$result['category'].'&sub2=">'.$result['category'].'</a></li>';
				}
				mysql_free_result($res);
			
				#<li class="last"><a href="">Scanners</a></li>
		
		echo '</ul>';

		echo '<div class="clearthis">&nbsp;</div>';
		echo '</div>';
	?>
	
		
		<!-- End of Categories Box -->

		<!-- Start of Special Offer Box 

		<div id="specialoffer">

			<div id="specialoffer_text">
			<h2>Get Special Offer <strong>Up to 25% off</strong></h2>
			</div>

			<div id="specialoffer_link">
			<a href="">...Go</a>
			</div>

			<div class="clearthis">&nbsp;</div>

		</div>-->

		<!-- End of Special Offer Box -->

	</div>
	
	<!-- End of Left Sidebar -->